Crate fuel_crypto
source ·Expand description
Fuel cryptographic primitives.
Re-exports§
pub use coins_bip32;
std
pub use coins_bip39;
std
pub use fuel_types;
pub use rand;
random
Modules§
- ED25519 signature verification
- secp256r1 implementations
Structs§
- Standard hasher
- Normalized (hashed) message authenticated by a signature
- Asymmetric secp256k1 public key, i.e. verifying key, in uncompressed form. https://github.com/FuelLabs/fuel-specs/blob/master/src/protocol/cryptographic-primitives.md#ecdsa-public-key-cryptography
- Asymmetric secret key, guaranteed to be valid by construction
- Compact-form Secp256k1 signature.
Enums§
- Crypto error variants
Functions§
- generate_mnemonic_phrase
std
andrandom
Generates a random mnemonic phrase given a random number generator and the number of words to generate,count
.